package cn.huijielong.modules.group.service;

import cn.huijielong.modules.group.entity.OrderEntity;
import cn.huijielong.common.utils.Query;
import java.util.List;
import java.util.Map;
import com.github.pagehelper.Page;

/**
 * 
 * 
 * @author xys
 * @email xys@gmail.com
 * @date 2019-07-03 22:46:43
 */
public interface OrderService {
	
	OrderEntity queryObject(Long orderId);
	
	Page<OrderEntity> queryList(Query q);
	
	Page<OrderEntity> queryOrders(Query q);
	
	List<OrderEntity> queryListByGroup(Long groupId);
	
	List<String> queryOrderLogDesc(Long orderId);
	
	int queryTotal(Map<String, Object> map);
	
	void save(OrderEntity order);
	
	void update(OrderEntity order);
	
	void updateStatus(Query param);
	
	void delete(Long orderId);
	
	void deleteBatch(Long[] orderIds);
	
	String newOrderNo();

	void updateSuccess(String orderNo);
	
}
